package com.oocl.oopdemo.twoDay;

public class Pen {

	private double height;
	private double width;
	private String color;
	
	public Pen(){
		
	}
	
	public Pen(double height,double width,String color){
		this(height,width);
		this.color=color;
	}
	
	public Pen(double height,double width){
		this.height=height;
		this.width=width;
	}
	
	public void write(){
		System.out.println("write....");
	}
	
	
}
